package com.tuanzi.loan.business.repository.xhh.settlementsystem.custom;

import com.tuanzi.loan.vo.request.xhh.settlementsystem.XhhSettlementPrepayRequest;
import com.tuanzi.loan.vo.response.xhh.settlementsystem.XhhSettlementPrepayResponse;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

/**
 * @author caiwanlin
 * @create 2018-08-22 17:11
 */
public interface XhhSettlementPrepayRepositoryCustom {
    Page<XhhSettlementPrepayResponse> list(XhhSettlementPrepayRequest searchRequest, Pageable pageable);

    Double getAliOrderCount(XhhSettlementPrepayRequest $);

    Double getToTalOrderCount(XhhSettlementPrepayRequest $);

    Double getBankOrderCount(XhhSettlementPrepayRequest $);

    Double getWechatOrderCount(XhhSettlementPrepayRequest $);
}
